#ifndef MYBUTTON_H
#define MYBUTTON_H

#include "mybtn/basebtnwidget.h"

class MyButton : public BaseBtnWidget
{
    Q_OBJECT
public:
    explicit MyButton(QWidget *parent = 0,QSizeF s = QSizeF(0.0f,0.0f));
    ~MyButton();
    void paintEvent(QPaintEvent *e);
    void setText(const QString &text,int size = 14);

    bool            m_bfouse;
    QString         m_textstr;
    int             m_ifontsize;
signals:

public slots:

};

#endif // MYBUTTON_H
